build: i2c.so

i2c.so: i2cmodule.c
	python i2cmodule.setup.py build
	ln -s `find ./ -name "i2c.so"` ./

install: i2c.so
	python i2cmodule.setup.py install

clean:
	-rm -rf build
	-rm i2c.so
